﻿@{
    ViewBag.Title = "Address";
    Layout = null;
}

<!doctype html>
<html ng-app="app">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>地址管理</title>
    <link href="~/Content/Style/gobal.css" rel="stylesheet" type="text/css">
    <link href="~/Content/Style/address.css" rel="stylesheet" type="text/css">
    <script src="~/Content/Script/angular.min.js"></script>
    <script src="~/Scripts/PageJs/Main.js"></script>
    <script src="~/Scripts/PageJs/Information.js"></script>
</head>

<body ng-controller="AddressController">
    <div class="wrap">
        <div class="infor" ng-repeat="item in addresses">
            <div class="infor_left">
                @*<div class="user">
                    <p class="icon"></p>
                    <p class="name"><span ng-bind="item.ContactName"></span>&nbsp;<span ng-bind="item.ContactCall"></span></p>
                    <p class="add_icon"><a href="" ng-click="updateContact(item.ID)"></a></p>
                    <p class="del_icon"><a href="" ng-click="delContact(item.ID)"></a></p>
                    <div class="clearfix"></div>
                </div>*@
                <div class="user">
                    <p class="icon"></p>
                    <p class="name"><span ng-bind="item.Name"></span>&nbsp;&nbsp;<span ng-bind="item.TelNum"></p>
                    @*<p class="add_icon"><a href="" ng-click="updateContact(item.ID)"></a></p>*@
                    <p class="del_icon"><a href="" ng-click="delContact(item.ID)"></a></p>
                    <div class="clearfix"></div>
                </div>
                <p class="address" ng-bind="item.AddrContent"></p>
            </div>
            <div class="clearfix"></div>
        </div>
        <div class="add_address">
            <a href="" ng-click="updateContact('')"><img src="../../Content/images/alter_icon-02.png" width="11" height="12">新增地址</a>
        </div>
        <div class="add_address">
            <a href="/Home/Index">
                去点餐
            </a>
        </div>
    </div>
</body>
</html>


